package net.wangds.auth.module;

import net.wangds.data.WithIdAndCreatInfo;

import java.util.List;

public interface User extends WithIdAndCreatInfo<String>, GrantOwner, GrantTarget {

    String getLastname();

    void setLastname(String lastname);

    String getName();

    void setName(String name);

    String getUserName();

    void setUserName(String userName);

    IdCardTypeEnum getIdCardType();

    void setIdCardType(IdCardTypeEnum idCardType);

    String getIdCardTypeName();

    void setIdCardTypeName(String idCardTypeName);

    String getIdCardNo();

    void setIdCardNo(String idCardNo);

    int getGender();

    void setGender(int gender);

    String getGenderLabel();

    void setGenderLabel(String genderLabel);

    long getBirthdayTm();

    void setBirthdayTm(long birthdayTm);

    String getBirthDay();

    void setBirthDay(String birthDay);

    String getPhone();

    void setPhone(String phone);

    List<Role> getRoles();

    void setRoles(List<Role> roles);

    List<Job> getJobs();

    void setJobs(List<Job> jobs);

    List<Grant> getPrivileges();

    void setPrivileges(List<Grant> privileges);
}
